﻿namespace EyeOpen.ViewModel.Silverlight
{
    using System;

    public class ConfirmMessage
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ConfirmMessage"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="callback">The callback.</param>
        public ConfirmMessage(string message, Action<bool?> callback)
        {
            this.Message = message;
            this.Callback = callback;
        }

        /// <summary>
        /// Gets or sets the callback.
        /// </summary>
        /// <value>The callback.</value>
        public Action<bool?> Callback
        { 
            get; 
            set;
        }

        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>The message.</value>
        public string Message
        {
            get; 
            set; 
        }
    }
}